package cn.kevinking.ai.mcp.provider.annotation;

import cn.kevinking.ai.mcp.provider.model.tool.McpDictParamConverter;
import cn.kevinking.ai.mcp.provider.model.tool.impl.DefaultEmptyDictParamConverter;

import java.lang.annotation.*;

/**
 * @author kevinking
 */
@Target({ ElementType.PARAMETER, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface McpToolParam {
	String description() default "";
	Class<? extends McpDictParamConverter> converter() default DefaultEmptyDictParamConverter.class;
	boolean required() default true;
}
